// 登录返回参数类型
export interface LoginResult {
    access_expire: number
    access_token: string
}

// 用户信息
export interface SysUserInfo {
    uuid: string
    nick_name: string
    avatar: string
}

export interface SysUserInfoParam {
    to_uuid: string
}

export interface SysUserLoginParam {
    token: string
}

export interface MessageListParam {
    channel_id: string
}

export interface Message {
    id: number
    channel_id: string
    visitor_id: string
    type: number
    content: string
    created_at: string
}

export interface SendMessage {
    cmd: number
    channel_id: string
    to_user_uuid: string
    type: number
    content: string
}

export interface CustCareUserInfo {
    channel_id: string
    service_uuid: string
    uuid: string
    nickname: string
    avatar: string
    service_client_ip: string
    service_province: string
    service_city: string
    service_online: number
}

export interface RealTimeMsg {
    channel_id: string
    content: string
    send_time: string
    to_user_uuid: string
    type: number
    user_uuid: string
}
